<?php

Route::get('uploader/{disk}', 'FilesController@uploader')
    ->name('.uploader');
Route::post('upload_task/generate/{disk}', 'FilesController@uploadTaskCreate')
    ->name('.upload.task.add');
Route::get('upload_task/get', 'FilesController@uploadTaskGet')
    ->name('.upload.task.view');
Route::post('upload_task/complete', 'FilesController@uploadTaskComplete')
    ->name('.upload.task.complete');

Route::post('upload/{disk}', 'FilesController@upload')
    //->defaults('disk','temp')
    ->name('.upload');

